//
//  NetOrderNoRead.m
//  carcareIOS
//
//  Created by 王然 on 16/4/29.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import "NetOrderNoRead.h"
#import "AIUserInfo.h"

@implementation NetOrderNoRead

+ (NetOrderNoRead *)getNotReadOrderState
{
    return [__SELF request:@"/Notpaid/getNotRead" withParams:nil type:REQUEST_POST];
}
+ (NetOrderNoRead *)updateReadOrderState:(NSString *)orderNoStr
{
    return [__SELF request:@"/Notpaid/updateReadflag" withParams:@{@"orderNo":orderNoStr} type:REQUEST_GET];
}
-(NSDictionary *)requestCommonParams{
    if (![USERINFO.session isNotNil]) {
        return nil;
    }
    return @{@"userid":@(USERINFO.userID),@"session":USERINFO.session};
}

@end
